package top.jinlijun.heytea.entities;

public class Commodity {
    private Integer commodityId;
    private String imgUrl;
    private String commodityName;
    private String tags;
    private Integer typeId;
    private String typeName;
    private String commodityDesc;
    private String characteristic;
    private Float price;
    private int isAttribute;
    private String attributeIds;

    //订单所属
    private String orderId;
    private Integer count;
    private String properties;
    private Boolean selected;

    public Commodity() {
    }

    public Commodity(String imgUrl, String commodityName, String tags, Integer typeId, String commodityDesc, String characteristic, Float price, int isAttribute) {
        this.imgUrl = imgUrl;
        this.commodityName = commodityName;
        this.tags = tags;
        this.typeId = typeId;
        this.commodityDesc = commodityDesc;
        this.characteristic = characteristic;
        this.price = price;
        this.isAttribute = isAttribute;
    }

    public Commodity(String imgUrl, String commodityName, String tags, Integer typeId, String commodityDesc, String characteristic, Float price, int isAttribute, String attributeIds) {
        this.imgUrl = imgUrl;
        this.commodityName = commodityName;
        this.tags = tags;
        this.typeId = typeId;
        this.commodityDesc = commodityDesc;
        this.characteristic = characteristic;
        this.price = price;
        this.isAttribute = isAttribute;
        this.attributeIds = attributeIds;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getCommodityDesc() {
        return commodityDesc;
    }

    public void setCommodityDesc(String commodityDesc) {
        this.commodityDesc = commodityDesc;
    }

    public String getCharacteristic() {
        return characteristic;
    }

    public void setCharacteristic(String characteristic) {
        this.characteristic = characteristic;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public int getIsAttribute() {
        return isAttribute;
    }

    public void setIsAttribute(int isAttribute) {
        this.isAttribute = isAttribute;
    }

    public String getAttributeIds() {
        return attributeIds;
    }

    public void setAttributeIds(String attributeIds) {
        this.attributeIds = attributeIds;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getProperties() {
        return properties;
    }

    public void setProperties(String properties) {
        this.properties = properties;
    }

    public Boolean getSelected() {
        return selected;
    }

    public void setSelected(Boolean selected) {
        this.selected = selected;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    @Override
    public String toString() {
        return "Commodity{" +
                "commodityId=" + commodityId +
                ", imgUrl='" + imgUrl + '\'' +
                ", commodityName='" + commodityName + '\'' +
                ", tags='" + tags + '\'' +
                ", typeId=" + typeId +
                ", typeName='" + typeName + '\'' +
                ", commodityDesc='" + commodityDesc + '\'' +
                ", characteristic='" + characteristic + '\'' +
                ", price=" + price +
                ", isAttribute=" + isAttribute +
                ", attributeIds='" + attributeIds + '\'' +
                ", orderId='" + orderId + '\'' +
                ", count=" + count +
                ", properties='" + properties + '\'' +
                ", selected=" + selected +
                '}';
    }
}
